package com.sat.seckill.model;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
import java.util.Date;


@Data
@TableName("tb_seckill_goods")
public class SeckillGoods implements Serializable{

	private Long id;//


	private Long supId;//spu ID


	private Long skuId;//sku ID


	private String name;//标题


	private String smallPic;//商品图片


	private String price;//原价格


	private String costPrice;//秒杀价格

	private Date createTime;//添加日期

	private Date checkTime;//审核日期


	private String status;//审核状态，0未审核，1审核通过，2审核不通过


	private Date startTime;//开始时间


	private Date endTime;//结束时间


	private Integer num;//秒杀商品数

	private Integer stockCount;//剩余库存数

	private String introduction;//描述



}
